#intro {
  position: relative;
  width: 300px;
  height: 350px;
  display: inline-block;
  margin: 10px;

  border-radius: 10px;
  box-shadow: 1px 2px 5px rgba(143, 142, 142, 0.705);
  opacity: 0.9;

  transition: 0.3s;

  &:hover {
    cursor: pointer;
    color: $hover-color;
    opacity: 1;
    box-shadow: 1px 2px 10px rgb(143, 142, 142);
  }
  .content {
    display: flex;
    flex-flow: column;
    img {
      width: 300px;
      height: 200px;
      overflow: hidden;
      object-fit: cover;
      border-radius: 5px 5px 0 0;
    }

    .tagBox {
      position: absolute;
      bottom: 10px;
      margin: 10px 0;
      display: inline-flex;
      flex-wrap: nowrap;
      overflow: hidden;
      .tag {
        display: inline-flex;
        margin: 5px 0 0 15px;
        padding:6px 10px;
        background-color: #333;
        flex-flow: row nowrap;
        align-items: center;

        border-radius: 5px;

        text-overflow: ellipsis;
        color: white;
        font-size: 12px;
        font-weight: 300;

        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;

        transition: 0.2s;
        i {
          display: inline-block;
          transform: rotate(30deg);
        }

        &:hover {
          cursor: pointer;
          background-color: $hover-color;
        }
      }
    }
    .title {
      margin: 20px 10px;

      font-family: 'PingFang SC';
      font-size: 14px;
      font-weight: 300;
      line-height: 24px;

      overflow: hidden;
      text-overflow: ellipsis;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
    }
  }
}